package com.hzcc.hzccblog.module.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author 早睡蛋
 * @Date 2022/6/7 21:03:04
 * @Desc:文章图片路径实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "article_image")
public class ArticleImage implements Serializable {

    @ApiModelProperty(value = "主键id")
    @TableId(type = IdType.INPUT)
    private String bId;

    @ApiModelProperty(value = "图片路径")
    @TableField("path")
    private String path;

}
